package com.diploma.project.aiqiyi.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aiqiyi.thread-pool")
public class ThreadPoolConfig {

	private int corePoolSize;

	private int maxPoolSize;

	private int queueCapacity;

	private int keepAliveSeconds;
}
